Skip to content

Conversation

@ltetak
Copy link
Contributor

@ltetak ltetak commented Dec 12, 2024

As a maintainer of an application using LiteDB, I would like to have insight into LiteDB behavior. So I added a simple callback that will expose logs. If not used then it should not make any performance difference. If used then it depends on the subscriber how this is handled.

@ltetak ltetak mentioned this pull request Dec 12, 2024
: base(buffer)
{
ENSURE(this.PageType == PageType.Collection, "page type must be collection page");
ENSURE(this.PageType == PageType.Collection, "page type must be collection page, but it is {0}", PageType);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sorry this does not work, PageType argument is not replaced.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant